package com.ktwlsoft.fundmanage.service.FInterface;

import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;

public interface ICandidate {


    /**
     * 获取业务员
     *
     * @return
     */
    default List<String> getClerk() {
        return Arrays.asList("CLERK");
    }

    /**
     * 获取会计
     *
     * @return
     */
    default List<String> getAccountant() {
        return Arrays.asList("ACCOUNTANT");
    }

    /**
     * 获取审核
     *
     * @return
     */
    default List<String> getAuditor() {
        return Arrays.asList("AUDITOR");
    }

    /**
     * 获取出纳
     *
     * @return
     */
    default List<String> getCashier() {
        return Arrays.asList("CASHIER");
    }

    default List<String> getClerkAndAccountant(){return Arrays.asList("CLERK","ACCOUNTANT");}

    default List<String> getAuditorAndCashier(){return Arrays.asList("CASHIER","AUDITOR");}

    default boolean checkWhetherClerk(){
        return true;
    }

    default List<String> getCashierAndAccount() {
        return Arrays.asList("ACCOUNTANT","ACCOUNTANT");
    }
}
